package com.baizhi.cmfz.elas;

import com.baizhi.cmfz.entity.Articel;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ElasticsearchDao extends ElasticsearchRepository<Articel,Integer> {
	List<Articel> findALlByArticelNameOrArticelContent(String name, String content);
}
